﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace UMLDesigner
{
    class InheritanceView : RelationView
    {

        public InheritanceView()
        {
            endSymbolSize = 10;

            finalPolygon = new Point[] {
                new Point(0,0),
                new Point(-endSymbolSize, endSymbolSize),
                new Point(endSymbolSize, endSymbolSize)                
            };
        }

        public override string GetRelationType()
        {
            return "Inheritance";
        }

        public override RelationView CreateObject()
        {
            return new InheritanceView();
        }

    }
}
